package com.swz.dcrm.ui.main;

import com.flyco.tablayout.listener.CustomTabEntity;

public class TabEntity implements CustomTabEntity {

    private String title;
    private int selected;
    private int unSelected;
    public TabEntity (String s,int selectedIcon,int unSelectedIcon){
        this.selected=selectedIcon;
        this.unSelected=unSelectedIcon;
        title=s;
    }
    @Override
    public String getTabTitle() {
        return title;
    }

    @Override
    public int getTabSelectedIcon() {
        return selected;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unSelected;
    }
}
